Optimal. Leaf size=121 \[ \frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4 (1+x)^{7/2}}{663 (1-x)^{13/2}}+\frac {4 (1+x)^{7/2}}{2431 (1-x)^{11/2}}+\frac {8 (1+x)^{7/2}}{21879 (1-x)^{9/2}}+\frac {8 (1+x)^{7/2}}{153153 (1-x)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 121, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {47, 37}
\begin {gather*} \frac {8 (x+1)^{7/2}}{153153 (1-x)^{7/2}}+\frac {8 (x+1)^{7/2}}{21879 (1-x)^{9/2}}+\frac {4 (x+1)^{7/2}}{2431 (1-x)^{11/2}}+\frac {4 (x+1)^{7/2}}{663 (1-x)^{13/2}}+\frac {(x+1)^{7/2}}{51 (1-x)^{15/2}}+\frac {(x+1)^{7/2}}{17 (1-x)^{17/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rubi steps
\begin {align*} \int \frac {(1+x)^{5/2}}{(1-x)^{19/2}} \, dx &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {5}{17} \int \frac {(1+x)^{5/2}}{(1-x)^{17/2}} \, dx\\ &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4}{51} \int \frac {(1+x)^{5/2}}{(1-x)^{15/2}} \, dx\\ &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4 (1+x)^{7/2}}{663 (1-x)^{13/2}}+\frac {4}{221} \int \frac {(1+x)^{5/2}}{(1-x)^{13/2}} \, dx\\ &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4 (1+x)^{7/2}}{663 (1-x)^{13/2}}+\frac {4 (1+x)^{7/2}}{2431 (1-x)^{11/2}}+\frac {8 \int \frac {(1+x)^{5/2}}{(1-x)^{11/2}} \, dx}{2431}\\ &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4 (1+x)^{7/2}}{663 (1-x)^{13/2}}+\frac {4 (1+x)^{7/2}}{2431 (1-x)^{11/2}}+\frac {8 (1+x)^{7/2}}{21879 (1-x)^{9/2}}+\frac {8 \int \frac {(1+x)^{5/2}}{(1-x)^{9/2}} \, dx}{21879}\\ &=\frac {(1+x)^{7/2}}{17 (1-x)^{17/2}}+\frac {(1+x)^{7/2}}{51 (1-x)^{15/2}}+\frac {4 (1+x)^{7/2}}{663 (1-x)^{13/2}}+\frac {4 (1+x)^{7/2}}{2431 (1-x)^{11/2}}+\frac {8 (1+x)^{7/2}}{21879 (1-x)^{9/2}}+\frac {8 (1+x)^{7/2}}{153153 (1-x)^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 45, normalized size = 0.37 \begin {gather*} \frac {(1+x)^{7/2} \left (13252-5871 x+2096 x^2-556 x^3+96 x^4-8 x^5\right )}{153153 (1-x)^{17/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 156, normalized size = 1.29
method | result | size |
gosper | \(-\frac {\left (1+x \right )^{\frac {7}{2}} \left (8 x^{5}-96 x^{4}+556 x^{3}-2096 x^{2}+5871 x -13252\right )}{153153 \left (1-x \right )^{\frac {17}{2}}}\) | \(40\) |
risch | \(-\frac {\sqrt {\left (1+x \right ) \left (1-x \right )}\, \left (8 x^{9}-64 x^{8}+220 x^{7}-416 x^{6}+447 x^{5}-216 x^{4}-25610 x^{3}-58124 x^{2}-47137 x -13252\right )}{153153 \sqrt {1-x}\, \sqrt {1+x}\, \left (-1+x \right )^{8} \sqrt {-\left (1+x \right ) \left (-1+x \right )}}\) | \(86\) |
default | \(\frac {\left (1+x \right )^{\frac {5}{2}}}{6 \left (1-x \right )^{\frac {17}{2}}}-\frac {5 \left (1+x \right )^{\frac {3}{2}}}{42 \left (1-x \right )^{\frac {17}{2}}}+\frac {5 \sqrt {1+x}}{119 \left (1-x \right )^{\frac {17}{2}}}-\frac {\sqrt {1+x}}{714 \left (1-x \right )^{\frac {15}{2}}}-\frac {\sqrt {1+x}}{1326 \left (1-x \right )^{\frac {13}{2}}}-\frac {\sqrt {1+x}}{2431 \left (1-x \right )^{\frac {11}{2}}}-\frac {5 \sqrt {1+x}}{21879 \left (1-x \right )^{\frac {9}{2}}}-\frac {20 \sqrt {1+x}}{153153 \left (1-x \right )^{\frac {7}{2}}}-\frac {4 \sqrt {1+x}}{51051 \left (1-x \right )^{\frac {5}{2}}}-\frac {8 \sqrt {1+x}}{153153 \left (1-x \right )^{\frac {3}{2}}}-\frac {8 \sqrt {1+x}}{153153 \sqrt {1-x}}\) | \(156\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 452 vs.
\(2 (85) = 170\).
time = 0.27, size = 452, normalized size = 3.74 \begin {gather*} -\frac {{\left (-x^{2} + 1\right )}^{\frac {5}{2}}}{6 \, {\left (x^{11} - 11 \, x^{10} + 55 \, x^{9} - 165 \, x^{8} + 330 \, x^{7} - 462 \, x^{6} + 462 \, x^{5} - 330 \, x^{4} + 165 \, x^{3} - 55 \, x^{2} + 11 \, x - 1\right )}} - \frac {5 \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}}}{42 \, {\left (x^{10} - 10 \, x^{9} + 45 \, x^{8} - 120 \, x^{7} + 210 \, x^{6} - 252 \, x^{5} + 210 \, x^{4} - 120 \, x^{3} + 45 \, x^{2} - 10 \, x + 1\right )}} - \frac {5 \, \sqrt {-x^{2} + 1}}{119 \, {\left (x^{9} - 9 \, x^{8} + 36 \, x^{7} - 84 \, x^{6} + 126 \, x^{5} - 126 \, x^{4} + 84 \, x^{3} - 36 \, x^{2} + 9 \, x - 1\right )}} - \frac {\sqrt {-x^{2} + 1}}{714 \, {\left (x^{8} - 8 \, x^{7} + 28 \, x^{6} - 56 \, x^{5} + 70 \, x^{4} - 56 \, x^{3} + 28 \, x^{2} - 8 \, x + 1\right )}} + \frac {\sqrt {-x^{2} + 1}}{1326 \, {\left (x^{7} - 7 \, x^{6} + 21 \, x^{5} - 35 \, x^{4} + 35 \, x^{3} - 21 \, x^{2} + 7 \, x - 1\right )}} - \frac {\sqrt {-x^{2} + 1}}{2431 \, {\left (x^{6} - 6 \, x^{5} + 15 \, x^{4} - 20 \, x^{3} + 15 \, x^{2} - 6 \, x + 1\right )}} + \frac {5 \, \sqrt {-x^{2} + 1}}{21879 \, {\left (x^{5} - 5 \, x^{4} + 10 \, x^{3} - 10 \, x^{2} + 5 \, x - 1\right )}} - \frac {20 \, \sqrt {-x^{2} + 1}}{153153 \, {\left (x^{4} - 4 \, x^{3} + 6 \, x^{2} - 4 \, x + 1\right )}} + \frac {4 \, \sqrt {-x^{2} + 1}}{51051 \, {\left (x^{3} - 3 \, x^{2} + 3 \, x - 1\right )}} - \frac {8 \, \sqrt {-x^{2} + 1}}{153153 \, {\left (x^{2} - 2 \, x + 1\right )}} + \frac {8 \, \sqrt {-x^{2} + 1}}{153153 \, {\left (x - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 145, normalized size = 1.20 \begin {gather*} \frac {13252 \, x^{9} - 119268 \, x^{8} + 477072 \, x^{7} - 1113168 \, x^{6} + 1669752 \, x^{5} - 1669752 \, x^{4} + 1113168 \, x^{3} - 477072 \, x^{2} + {\left (8 \, x^{8} - 72 \, x^{7} + 292 \, x^{6} - 708 \, x^{5} + 1155 \, x^{4} - 1371 \, x^{3} - 24239 \, x^{2} - 33885 \, x - 13252\right )} \sqrt {x + 1} \sqrt {-x + 1} + 119268 \, x - 13252}{153153 \, {\left (x^{9} - 9 \, x^{8} + 36 \, x^{7} - 84 \, x^{6} + 126 \, x^{5} - 126 \, x^{4} + 84 \, x^{3} - 36 \, x^{2} + 9 \, x - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.04, size = 167, normalized size = 1.38 \begin {gather*} \frac {2 \left (\left (\left (\left (\left (-\frac {4}{153153} \sqrt {x+1} \sqrt {x+1}+\frac {4}{9009}\right ) \sqrt {x+1} \sqrt {x+1}-\frac {10}{3003}\right ) \sqrt {x+1} \sqrt {x+1}+\frac {10}{693}\right ) \sqrt {x+1} \sqrt {x+1}-\frac {5}{126}\right ) \sqrt {x+1} \sqrt {x+1}+\frac 1{14}\right ) \sqrt {x+1} \sqrt {x+1} \sqrt {x+1} \sqrt {x+1} \sqrt {x+1} \sqrt {x+1} \sqrt {x+1} \sqrt {-x+1}}{\left (-x+1\right )^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.37, size = 140, normalized size = 1.16 \begin {gather*} -\frac {\sqrt {1-x}\,\left (\frac {3765\,x\,\sqrt {x+1}}{17017}+\frac {13252\,\sqrt {x+1}}{153153}+\frac {24239\,x^2\,\sqrt {x+1}}{153153}+\frac {457\,x^3\,\sqrt {x+1}}{51051}-\frac {5\,x^4\,\sqrt {x+1}}{663}+\frac {236\,x^5\,\sqrt {x+1}}{51051}-\frac {292\,x^6\,\sqrt {x+1}}{153153}+\frac {8\,x^7\,\sqrt {x+1}}{17017}-\frac {8\,x^8\,\sqrt {x+1}}{153153}\right )}{x^9-9\,x^8+36\,x^7-84\,x^6+126\,x^5-126\,x^4+84\,x^3-36\,x^2+9\,x-1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________